from rest_framework import serializers

from .models import JuqiGood, GoodLevel


class JuqiGoodSerializer(serializers.ModelSerializer):
    class Meta:
        model = JuqiGood
        fields = "__all__"


class GoodLevelSer(serializers.ModelSerializer):
    class Meta:
        model = GoodLevel
        fields = "__all__"

class CsSer(serializers.ModelSerializer):
    class Meta:
        model = JuqiGood
        fields = ("display_url","level_title","name")